#include "ros/ros.h"
#include "corobot_srvs/MoveArm.h"
#include <cstdlib>
//#include "corobot_srvs/srv_gen/cpp/include/corobot_srvs/MoveArm.h"



int main(int argc, char **argv)
{
  ros::init(argc, argv, "bra_apis");
  //ros::service::call("move_arm", foo);
  ros::NodeHandle n;
  ros::ServiceClient client = n.serviceClient<corobot_srvs::MoveArm>("move_arm");
  
  corobot_srvs::MoveArm srv;
  srv.request.
  
}

int main(int argc, char **argv)
{
  ros::NodeHandle n;
  ros::ServiceClient client = n.serviceClient<beginner_tutorials::AddTwoInts>("add_two_ints");
  beginner_tutorials::AddTwoInts srv;
  srv.request.a = atoll(argv[1]);
  srv.request.b = atoll(argv[2]);
  if (client.call(srv))
  {
    ROS_INFO("Sum: %ld", (long int)srv.response.sum);
  }
  else
  {
    ROS_ERROR("Failed to call service add_two_ints");
    return 1;
  }

  return 0;
}